package com.eastfair.venueservice.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.venueservice.dto.ServiceInventoryInFlowQuery;
import com.eastfair.venueservice.entity.ServiceInventory;
import com.eastfair.venueservice.entity.ServiceInventoryInFlow;

import com.eastfair.venueservice.vo.ServiceInventoryInFlowVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * 服务库存入库流水记录
 * </p>
 *
 * @author linan
 * @date 2022-09-19
 */
@Repository
public interface ServiceInventoryInFlowMapper extends SuperMapper<ServiceInventoryInFlow> {

    /**
     * 查询入库记录
     * @param serviceInventoryInFlowQueryPage
     * @param wrapper
     * @return
     */
    Page<ServiceInventoryInFlowVO> queryInFlowList(Page<ServiceInventoryInFlowQuery> serviceInventoryInFlowQueryPage, @Param(Constants.WRAPPER) QueryWrapper<ServiceInventory> wrapper);
}
